public class carjava{
String color;
int size;
string sett;

public car(string color,int size,string sett){
this.color=color;
this.size=size;
this.sett=sett;
void horn{
system.out.print("di di")
}
}
static void main(String []args){
car honda=new car(r,1,o);
car BMW=new car(b,2,o);
honda.horn;
BMW.horn;

}
}
